package edu.gdkm.demo6.demo2;

public class Secretary extends Employee{
    private double yuexin;
    private double jiangjin;

    public double getYuexin() {
        return yuexin;
    }

    public double getJiangjin() {
        return jiangjin;
    }

    public void setJiangjin(double jiangjin) {
        this.jiangjin = jiangjin;
    }

    public void setYuexin(double yuexin) {
        this.yuexin = yuexin;
    }

    public double salary_count() {
        return yuexin*12+jiangjin;
    }
}
